package com.nervenets.web.enumeration;


import com.nervenets.web.i18n.Translator;

/**
 * Created by joe on 17-5-15.
 */
public enum MethodType {
    base,
    user,
    user_for_manager,
    location,
    location_for_manager,
    ad,
    help,
    manager,
    pay,
    statistics,
    game,
    movie,
    movie_for_manager,
    news,
    news_for_manager,
    order_for_manager;

    public String getName() {
        return this.name();
    }

    public String getLabel() {
        return Translator.translate(this);
    }
}
